/////precompiled////////
#include "precompiled.h"
////////////////////////


#include "prs_FrmStyleState.h"
using namespace prs;

// TRuleFrmStyleState /////////////////////////////////////////////////////////

//
TRuleFrmStyleState::TRuleFrmStyleState(
  snt::text::TContext &Context,
  svl::TVariant &VParentNode
) 
:RFiller(Context,VParentNode,vFiller)
,RBorder(Context,vBorder)
{
  snt::TReturn         Return;
  snt::TFVoid          F;
  snt::text::TSequence T(Context);
  snt::text::TKeyword K(Context);

  vFiller = (void*)NULL;

  this->Name(GetClassName())
  | T.New("(") & A.New()
  ;
  A.Name(GetClassName() + "[A]")
  | F.New(this,&TRuleFrmStyleState::FFiller) & RFiller.New() & A.New()
  | F.New(this,&TRuleFrmStyleState::FBorder) & RBorder.New() & A.New()
  | T.New(")") & Return.New()
  ;

  // 
  RuleInParts.Name(GetClassName() + "[RuleInParts]")
  | F.New(this,&TRuleFrmStyleState::FFiller) & RFiller.New() & Return.New()
  | F.New(this,&TRuleFrmStyleState::FBorder) & RBorder.New() & Return.New()
  ;

  //svl::TMessageModal(GetClassName() << "\r\n" << GetGraphInfo(""));
}
